<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>WAP支付</title>
<meta name="description" content="微信支付" />
<meta name="keywords" content="微信支付" />
<script src="../js/pay/jquery-1.4.2.min.js" type="text/javascript"></script>
<link href="../css/pay/style.css" type="text/css" rel="stylesheet" />
<link href="../css/pay/index.css" rel="stylesheet" type="text/css">
	<script type="text/javascript">
	   var timer;
		$(function(){
			var handler = function(){
				var out_trade_no = $('input[name=out_trade_no]').val();
				$.post("PayResultQuery.do?out_trade_no="+out_trade_no,null,function(msg){
					//alert(msg);
					if(msg == '1'){
// 						alert("支付成功");
						document.location.href="pay_success.ftl";
						clearInterval(timer);
					}
				});
			}
			timer = setInterval(handler , 5000);
		});
	</script>
</head>
<body>
<div align="center" bgcolor="#666666">
   <div>
<!--扫描代码-->
	<input type="hidden" name="out_trade_no"  value="${out_trade_no}"/>
      <div >
	   <div class="m26">
               <h1>订单提交成功，请您尽快付款！</h1>
               <div class="num"><span class="color1 ml16" style="font-size:28px;">订单号：<label id="out_trade_no" class="orange">${out_trade_no}</label></span></div>
         </div>
         <div class="title">
         <span class="color1 ml16" style="font-size:28px;">商品名称：<label class="orange">${body}</label></span>
         </br><span class="color1 ml16" style="font-size:28px;">订单金额：<label class="orange">${total_fee}</label>元</span>
		 </br><span class="color1 ml16" style="font-size:28px;">支付方式：<img src="../img/weixin.png"/></span>
		 
		 </div>
         <%-- <div class="scan"><img src="${code_img_url}"/></div> --%>
         
         <a href = "${pay_info}"><button class="new-btn-login" type="button">确认支付</button></div></a>
         
      </div>

   </div>
</div>
</body>
</html>
